feat: add thinking steps support as chunks to chat stream with plan and task blocks#1824
Draft
feat: add thinking steps support as chunks to chat stream with plan and task blocks#1824
Conversation
Co-authored-by: Michael Brooks <mbrooks@slack-corp.com>
Co-authored-by: Michael Brooks <mbrooks@slack-corp.com>
…lan block and update chat stream variable (#1822)
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #1824 +/- ##
==========================================
+ Coverage 83.91% 83.93% +0.02%
==========================================
Files 115 116 +1
Lines 13080 13221 +141
==========================================
+ Hits 10976 11097 +121
- Misses 2104 2124 +20 ☔ View full report in Codecov by Sentry. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
This PR adds support for thinking steps using
chunkswith chat stream or as blocks for other messages. This includes:task_updatechunk in feat: accept chunks as arguments to chat.{start,append,stop}Stream methods #1806 and feat: support and flush chunks in the chat stream helper #1809markdown_textchunk in feat: accept chunks as arguments to chat.{start,append,stop}Stream methods #1806 and feat: support and flush chunks in the chat stream helper #1809plan_updatechunk in feat: add plan_update chunk for chat streaming #1821taskblock in feat: add task_card and plan blocks #1819planblock in feat: add task_card and plan blocks #1819Testing
👾 Check out this sample: slack-samples/bolt-python-assistant-template#43
Category
/docs(Documents)tests/integration_tests(Automated tests for this library)Requirements
python3 -m venv .venv && source .venv/bin/activate && ./scripts/run_validation.shafter making the changes.